package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ocom.common.entity.card.EntityXfPointInfo;
import com.ocom.common.request.payconfig.AddTollPointInfoRequest;
import com.ocom.common.request.payconfig.GetTollPointInfoRequest;
import com.ocom.common.request.payconfig.UpdateTollPointInfoRequest;
import com.ocom.common.request.web.DelTollPointRequest;

import java.util.List;

//收费点信息
public interface XfPointInfoService extends IService<EntityXfPointInfo> {

	PageInfo getTollPointInfo(Long companyId,GetTollPointInfoRequest request);

	EntityXfPointInfo addTollPointInfo(Long companyId,AddTollPointInfoRequest request);

	EntityXfPointInfo updateTollPointInfo(Long companyId,UpdateTollPointInfoRequest request);

	boolean deleteTollPointInfo(Long companyId,DelTollPointRequest request);


	List<EntityXfPointInfo> getTollPointList(Long companyId, List<Integer> ins);

	List<EntityXfPointInfo> selectPointList(Long comId,Integer merchId ,String strMerchs);

	List<EntityXfPointInfo> selectPointListS(Long comId);

	EntityXfPointInfo getTollPointInfo(Long companyId,Integer pointId);

	List<EntityXfPointInfo> getAllChildPoint(Long companyId,Integer pointId);

	List<EntityXfPointInfo> getTollPointList(Long companyId);

}
